@import '../vars.less';
@import './demo.less';

:root,
:root[theme-mode='light'] {
  --bg-color-demo: #f6f6f6;
  --text-primary: #181818;
  --text-secondary: #181818;
}

:root[theme-mode='dark'] {
  --bg-color-demo: #181818;
  --text-primary: rgba(255, 255, 255, 0.9);
  --text-secondary: rgba(255, 255, 255, 0.55);
}

.tdesign-demo-topnav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  background-color: var(--td-bg-color-container);
  color: var(--text-primary);
  box-shadow: @shadow-level-1;

  &-title {
    font-size: 18px;
  }

  &__back {
    position: absolute;
    left: 16px;
    font-size: 24px;
    cursor: pointer;
  }
}
